
package com.gxa.p2p.pojo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author xiangzuo
 * 还款记录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("还款记录")
public class Repayrecord implements Serializable {
  @ApiModelProperty(name = "id",value = "编号")
  private Long id;
  @ApiModelProperty(name = "borrowName",value = "借款人名字")
  private String borrowName;
  @ApiModelProperty(name = "borrowPhone",value = "借款人手机")
  private String borrowPhone;
  @ApiModelProperty(name = "markName",value = "标名")
  private String markName;
  @ApiModelProperty(name = "borrowMoney",value = "借款金额")
  private Double borrowMoney;
  @ApiModelProperty(name = "term",value = "期限")
  private String term;
  @ApiModelProperty(name = "repayMode",value = "还款方式")
  private String repayMode;
  @ApiModelProperty(name = "periods",value = "期数")
  private String periods;
  @ApiModelProperty(name = "repayTime1",value = "应还款日期")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp repayTime1;
  @ApiModelProperty(name = "repayTime2",value = "实际还款日期")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp repayTime2;
  @ApiModelProperty(name = "repayMoney1",value = "预还金额")
  private Double repayMoney1;
  @ApiModelProperty(name = "repayMoney2",value = "实还金额")
  private Double repayMoney2;
  @ApiModelProperty(name = "principal",value = "本金")
  private Double principal;
  @ApiModelProperty(name = "interest",value = "利息")
  private Double interest;
  @ApiModelProperty(name = "overFine",value = "逾期罚息")
  private Double overFine;
  @ApiModelProperty(name = "remarks",value = "还款备注记录")
  private String remarks;
  @ApiModelProperty(name = "state",value = "还款状态")
  private String state;
  @ApiModelProperty(name = "moneyType",value = "资金类型")
  private String moneyType;

}
